<!DOCTYPE html>
<!--
  Copyright 2016 Google Inc.

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in
  all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  THE SOFTWARE.
-->
<html>
  <head>
    <meta charset="utf-8">
    <title>Drawer - Material Components Catalog</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" type="image/png" href="/images/logo_components_color_2x_web_48dp.png">
    <link rel="stylesheet" href="/assets/drawer/drawer.css">
    <script src="/ready.js"></script>
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mono">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500">
    <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
  </head>
  <body class="mdc-typography demo-body">
    <header class="mdc-top-app-bar" id="app-bar">
      <div class="mdc-top-app-bar__row">
        <section class="mdc-top-app-bar__section mdc-top-app-bar__section--align-start">
          <a href="/" class="catalog-back mdc-toolbar__menu-icon"><i class="material-icons">&#xE5C4;</i></a>
          <span class="mdc-top-app-bar__title">Drawer</span>
        </section>
      </div>
    </header>

    <main>
      <div class="mdc-top-app-bar--fixed-adjust"></div>
      <div class="intro">
       <p>
        To best show the functionality of drawers, we put all demos in iframes.
        Click the links above the iframe to view the demo in a full browser window.
       </p>
       <p>
        It's worth noting that we also use icons in this demo, which aren't loaded by default.
        In order to properly include icons in your own project, you'll need to load in the Material Icons stylesheet:
       </p>
       <pre>&lt;link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"&gt;</pre>
      </div>

      <section class="examples">
        <div class="example">
          <h2 class="drawer-example-heading">
            <span>Permanent drawer</span>
          </h2>
          <p><a href="./permanent-drawer.html" target="_blank">View in separate window</a></p>
          <iframe src="./permanent-drawer.html"></iframe>
        </div>
        <div class="example">
          <h2 class="drawer-example-heading">
            <span>Dismissible drawer</span>
          </h2>
          <p><a href="./dismissible-drawer.html" target="_blank">View in separate window</a></p>
          <iframe src="./dismissible-drawer.html"></iframe>
        </div>
        <div class="example">
          <h2 class="drawer-example-heading">
            <span>Modal drawer</span>
          </h2>
          <p><a href="./modal-drawer.html" target="_blank">View in separate window</a></p>
          <iframe src="./modal-drawer.html"></iframe>
        </div>
      </section>
    </main>

    <script src="/assets/material-components-web.js" async></script>
  </body>
</html>
